package com.vegetable.modules.entity.allocation.po;

import com.vegetable.modules.entity.allocation.vo.DeductionDetailVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 更新扣款处理意见PO（包含明细）
 * </p>
 *
 * @author Qoder
 * @since 2025-11-04
 */
@Data
@ApiModel(value="UpdateDeductionHandleOpinionWithDetailsPO对象", description="更新扣款处理意见PO（包含明细）")
public class UpdateDeductionHandleOpinionWithDetailsPO {

    @ApiModelProperty(value = "明细记录ID")
    @NotNull(message = "记录ID不能为空")
    private Long id;

    @ApiModelProperty(value = "处理意见")
    private String opinion;

    @ApiModelProperty(value = "处理状态 0未处理，1已处理")
    private Integer status = 0;

    @ApiModelProperty(value = "各代办人员承担金额列表")
    private List<DeductionDetailVO> agentDeductions;

    @ApiModelProperty(value = "企业承担金额")
    private BigDecimal companyDeductionAmount;
}